export const PAGE_CODE = 'dcs-afterSales-technologyActivity';
import {PAGE} from '../constants';
import moment from 'moment';

export const lastWeek = [
    moment()
        .startOf('month').format('YYYY-MM-DD'),
    moment().endOf('day')
];
export const PERMISSION = {
    add: 'add',
    export: 'export',
    update: 'update',
    addVin: 'addVin',
    submit: 'submit',
    abandon: 'abandon',
    release: 'release',
    close: 'close',
    approve: 'approve'
};
export const DEFAULT_QUERY_OPTION = {
    code: '',
    serviceName: '',
    brandId: '',
    dealerId: '',
    technologyActivityDate: lastWeek,
    status: '',
    isDealerApply: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.smallSize,
    sortField: '',
    isDesc: '',
};

